from kongfuzirk import Kongfuzirk
from time import sleep
import pytest


class Commonrk():
    def setup_method(self):
        self.po = Kongfuzirk()

    def teardown_method(self):
        self.po.quit_driver()

    def test_01(self,data):
        try:
            self.po.sr()
        except Exception as e:
            print("报错信息： ", e)
            self.po.dy('loginrk.png')

